# 1. 算出12的6次方是多少？
print(12 ** 6)


# 2. 将第一题的值，进行反向开根
a = 12
b = 6
result = a ** (1 / b)
print(result)


# 3. 判断以下表达式的布尔值
a = True
b = "False"
c = 0
d = 1.1111111111111119
e = " "
f = ""
result_1 = bool(a)
result_2 = bool(b)
result_3 = bool(c)
result_4 = bool(d)
result_5 = bool(e)
result_6 = bool(f)
print(result_1, result_2, result_3, result_4, result_5, result_6)

# 4. 对AB的公式，分别进行取整、取余的操作。同时对C的值进行小数点四舍五入保留两位小数的操作
A = 13
B = 4
print(13 // 4)
print(13 % 4)
result = divmod(A, B)
print(f"{A}除以{B}的商是{result[0]},余数是{result[1]}")



C = 3.1492865321
result = round(C, 2)
print(result)
